<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8"/>
		<title>Module autoptr.shared_ptr</title>
		<link rel="stylesheet" type="text/css" href="../styles/ddox.css"/>
		<link rel="stylesheet" href="../prettify/prettify.css" type="text/css"/>
		<script type="text/javascript" src="../scripts/jquery.js">/**/</script><script type="text/javascript" src="../scripts/ddox.js">/**/</script>
	</head>
	<body onload="setupDdox();">
		<nav id="main-nav">
			<noscript>
				<p style="color: red">The search functionality needs JavaScript enabled</p>
			</noscript>
			<div id="symbolSearchPane" style="display: none">
				<form action="#" method="GET">
					<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(40);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();"/>
				</form>
				<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
$('#symbolSearchPane').show();</script>
			</div>
			<ul class="tree-view">
				<li class="tree-view ">
					<div class="package ">autoptr
					</div>
			<ul class="tree-view">
				<li>
					<div class="module ">
						<a href="../autoptr/common.html">common</a>
					</div>
				</li>
				<li>
					<div class="module ">
						<a href="../autoptr/intrusive_ptr.html">intrusive_ptr</a>
					</div>
				</li>
				<li>
					<div class="module ">
						<a href="../autoptr/rc_ptr.html">rc_ptr</a>
					</div>
				</li>
				<li>
					<div class="module selected">
						<a href="../autoptr/shared_ptr.html">shared_ptr</a>
					</div>
				</li>
				<li>
					<div class="module ">
						<a href="../autoptr/unique_ptr.html">unique_ptr</a>
					</div>
				</li>
			</ul>
				</li>
			</ul>
		</nav>
		<div id="main-contents">
			<h1>Module autoptr.shared_ptr</h1><p>Implementation of reference counted pointer <code class="lang-d"><a href="../autoptr/shared_ptr/SharedPtr.html"><span class="typ">SharedPtr</span></a></code> (similar to c++ <code class="lang-d"><span class="pln">std</span><span class="pun">::</span><span class="pln">shared_ptr</span></code>).
</p><section></section>

			<section></section>
			<section>
				<h2>Functions</h2>
				<table>
					<col class="caption"/>
					<tr>
						<th>Name</th><th>Description</th>
					</tr>
					<tr>
						<td>
							<code>
								<a id="dynCast" class="public" href="../autoptr/shared_ptr/dynCast.html">dynCast</a><span class="tableEntryAnnotation">()</span>
							</code>
						</td>
						<td>Dynamic cast for shared pointers if <code class="lang-d"><span class="typ">ElementType</span></code> is class with D linkage.
</td>
					</tr>
					<tr>
						<td>
							<code>
								<a id="dynCastMove" class="public" href="../autoptr/shared_ptr/dynCastMove.html">dynCastMove</a><span class="tableEntryAnnotation">()</span>
							</code>
						</td>
						<td>Dynamic cast for shared pointers if <code class="lang-d"><span class="typ">ElementType</span></code> is class with D linkage.
</td>
					</tr>
					<tr>
						<td>
							<code>
								<a id="first" class="public" href="../autoptr/shared_ptr/first.html">first</a><span class="tableEntryAnnotation">(ptr)</span>
							</code>
						</td>
						<td>Return <code class="lang-d"><a href="../autoptr/shared_ptr/SharedPtr.html"><span class="typ">SharedPtr</span></a></code> pointing to first element of array managed by shared pointer <code class="lang-d"><a href="../autoptr/shared_ptr/first.html#ptr"><span class="pln">ptr</span></a></code>.
</td>
					</tr>
					<tr>
						<td>
							<code>
								<a id="share" class="public" href="../autoptr/shared_ptr/share.html">share</a><span class="tableEntryAnnotation">(ptr)</span>
							</code>
						</td>
						<td>Return <code class="lang-d"><span class="kwd">shared <a href="../autoptr/shared_ptr/SharedPtr.html"></span><span class="typ">SharedPtr</span></a></code> pointing to same managed object like parameter <code class="lang-d"><a href="../autoptr/shared_ptr/share.html#ptr"><span class="pln">ptr</span></a></code>.
</td>
					</tr>
				</table>
			</section>
			<section>
				<h2>Structs</h2>
				<table>
					<col class="caption"/>
					<tr>
						<th>Name</th><th>Description</th>
					</tr>
					<tr>
						<td>
							<code>
								<a id="SharedPtr" class="public" href="../autoptr/shared_ptr/SharedPtr.html">SharedPtr</a>
							</code>
						</td>
						<td><code class="lang-d"><span class="typ">SharedPtr</span></code> is a smart pointer that retains shared ownership of an object through a pointer.
</td>
					</tr>
				</table>
			</section>
			<section>
				<h2>Manifest constants</h2>
				<table>
					<col class="caption"/>
					<tr>
						<th>Name</th><th>Type</th><th>Description</th>
					</tr>
					<tr>
						<td>
							<a id="isSharedPtr" class="public" href="../autoptr/shared_ptr/isSharedPtr.html">
								<code>isSharedPtr</code>
							</a>
						</td>
						<td>
						</td>
						<td>Check if type <code class="lang-d"><span class="pln">T</span></code> is <code class="lang-d"><a href="../autoptr/shared_ptr/SharedPtr.html"><span class="typ">SharedPtr</span></a></code>.
</td>
					</tr>
				</table>
			</section>
			<section>
				<h2>Aliases</h2>
				<table>
					<col class="caption"/>
					<tr>
						<th>Name</th><th>Type</th><th>Description</th>
					</tr>
					<tr>
						<td>
							<a id="SharedPtr" class="public" href="../autoptr/shared_ptr/SharedPtr.html">
								<code>SharedPtr</code>
							</a>
						</td>
						<td>
							<code class="prettyprint lang-d"><a href="../autoptr/shared_ptr/SharedPtr.html"><span class="typ">SharedPtr</span></a>!(_Type,_DestructorType,_ControlType,false)</code>
						</td>
						<td><code class="lang-d"><span class="typ">SharedPtr</span></code> is a smart pointer that retains shared ownership of an object through a pointer.
</td>
					</tr>
					<tr>
						<td>
							<a id="WeakPtr" class="public" href="../autoptr/shared_ptr/WeakPtr.html">
								<code>WeakPtr</code>
							</a>
						</td>
						<td>
							<code class="prettyprint lang-d"><a href="../autoptr/shared_ptr/SharedPtr.html"><span class="typ">SharedPtr</span></a>!(_Type,_DestructorType,_ControlType,true)</code>
						</td>
						<td>Weak pointer.
</td>
					</tr>
				</table>
			</section>
			<footer>
				<table class="license-info">
					<tr>
						<th>Authors</th>
						<td>
							<p>github.com/submada/basic_string, Adam Búš
</p>

						</td>
					</tr>
					<tr>
						<th>Copyright</th>
						<td>
							
						</td>
					</tr>
					<tr>
						<th>License</th>
						<td>
							<p>www.boost.org/LICENSE_1_0.txt, Boost License 1.0.
</p>

						</td>
					</tr>
				</table>
				<p class="faint">Generated using the DDOX documentation generator</p>
			</footer>
		</div>
	</body>
</html>